﻿using System;
using System.Collections.Generic;

namespace lindyaka.Domain.Entities
{
    public class UserAccount
    {
        public int UserAccountId { get; set; }
        public string Email { get; set; }
        public string Password { get; set; }
        public UserAccountStatus Status { get; set; }
        public UserAccountPermission Permission { get; set; }
        public DateTime Registered { get; set; }
        public DateTime LastLoggedIn { get; set; }

        public int UserAccountRoleId { get; set; }
        public virtual ICollection<UserAccountRole> UserAccountRoles { get; set; }
    }
}